function User(name,age,career,work){
    this.name = name
    this.age = age
    this.career = career
    this.work = work
}

function Factory(name, age, career){
    let work = null
    switch(career){
        case 'corder':
            work = ['写代码','摸鱼']
            break;
        case 'product':
            work = ['做需求','订会议室','催更']
            break;
        case 'boss':
            work = ['喝茶', '看报', '见客户']
            break;
        // ...
    }
    return new User(name,age,career,work)
}


// 批量化调用Factory